import { BaseRequest, BaseResponse, BaseConf } from "../base";
import { ObjectId } from 'mongodb';
import { users } from '../../types/user';

export interface ReqGetTeacher extends BaseRequest {
    teacher:ObjectId
}

export interface ResGetTeacher extends BaseResponse {
    teacher:users
}

export const conf: BaseConf = {
    needLogin: true
}